/*************************************************
 * 描述：顶级菜单栏私有实现
 *
 * File：cxitoplevelmenu_p.h
 * Author：zhangzhiming@mozihealthcare.cn
 * Date：25-9-19
 * Update：
 * ************************************************/

#ifndef CXITOPLEVELMENUPRIVATE_H
#define CXITOPLEVELMENUPRIVATE_H

#include <QHBoxLayout>
#include <controls/menu/cxitoplevelmenu.h>

class CxiTopLevelMenuPrivate {
	Q_DISABLE_COPY(CxiTopLevelMenuPrivate)
	Q_DECLARE_PUBLIC(CxiTopLevelMenu)
public:
	explicit CxiTopLevelMenuPrivate(CxiTopLevelMenu* q);
	~CxiTopLevelMenuPrivate();
	CxiTopLevelMenu*	q_ptr;
private:
	void init();
	void updateLayout();

	QHBoxLayout*		m_hLayout;
	QToolButton *		m_flowBtn;
	QMenu *				m_menu;
	QActionGroup* 		m_actionGroup;
};



#endif //CXITOPLEVELMENUPRIVATE_H
